from django.contrib import admin

from weberchats.models import BlogArticle


class BlogArticleAdmin(admin.ModelAdmin):

    list_display = ('title', 'author', 'time')
    ordering = ('title', )
    search_fields = ('title', 'author')


admin.site.register(BlogArticle,BlogArticleAdmin)